<template>
  <el-card shadow="never">
    <div slot="header" class="card-header">
      <span>重点关注渠道</span>
    </div>
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="columnA" label="渠道名称"> </el-table-column>
      <el-table-column prop="columnB" label="渠道级别"> </el-table-column>
      <el-table-column prop="columnC" label="加入时间"> </el-table-column>
      <el-table-column prop="columnD" label="年业绩（万）"> </el-table-column>
    </el-table>
    <div class="pagination">
      <Pagination />
    </div>
  </el-card>
</template>

<script>
import Pagination from './Pagination'
export default {
  components: {
    Pagination
  },

  data() {
    return {
      tableData: [
        {
          columnA: '科讯信息',
          columnB: '金牌',
          columnC: '2016',
          columnD: '1000'
        },
        {
          columnA: '思特奇科技',
          columnB: '金牌',
          columnC: '2016',
          columnD: '800'
        },
        {
          columnA: '普飞科技',
          columnB: '普通',
          columnC: '2016',
          columnD: '200'
        },
        {
          columnA: '利达科技',
          columnB: '普通',
          columnC: '2019',
          columnD: '300'
        },
        {
          columnA: '宏天信息技术',
          columnB: '普通',
          columnC: '2019',
          columnD: '300'
        },
        {
          columnA: '里斯特科技',
          columnB: '银牌',
          columnC: '2015',
          columnD: '700'
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.pagination {
  float: right;
  margin: 10px;
}
</style>
